/**
 * 物料车管理api
 */
import request from '@/utils/request'

export function getInfo(data) {
  return request({
    url: '/wms/material/cart/material/page',
    method: 'post',
    data
  })
}

export function getInfoAssembling(data) {
  return request({
    url: '/wms/material/cart/material/assembling/page',
    method: 'post',
    data
  })
}

export function getInfoReceive(data) {
  return request({
    url: '/wms/material/cart/material/receive/page',
    method: 'post',
    data
  })
}
export function getdetails(id,data) {
  return request({
    url: `/wms/material/cart/material/detailList?id=`+id,
    method: 'post',
    data
  })
}